
package com.sxfq.loansupermarket.backsystem.common.persistence.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import org.apache.poi.ss.formula.functions.Rate;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 *取现详情
 * Author:   Administrator
 * Date:     2017/10/20 11:19

 */
@TableName("enchashment_cofig")
public class Details extends Model<Details>{
    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 取现费率(单位%)
     */
    private BigDecimal enchashmentRate;
    /**
     *取现间隔时间(单位秒)
     */
    private Integer enchashmentInterval;
    /**
     * 最小提现金额
     */
    private BigDecimal minMoney;
    /**
     * 最大提现金额
     */
    private BigDecimal maxMoney;
    /**
     *创建时间
     */
    private Date createTime;
    /**
     *最后修改时间
     */
    private Date updateTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public BigDecimal getEnchashmentRate() {
        return enchashmentRate;
    }

    public void setEnchashmentRate(BigDecimal enchashmentRate) {
        this.enchashmentRate = enchashmentRate;
    }

    public Integer getEnchashmentInterval() {
        return enchashmentInterval;
    }

    public void setEnchashmentInterval(Integer enchashmentInterval) {
        this.enchashmentInterval = enchashmentInterval;
    }

    public BigDecimal getMinMoney() {
        return minMoney;
    }

    public void setMinMoney(BigDecimal minMoney) {
        this.minMoney = minMoney;
    }

    public BigDecimal getMaxMoney() {
        return maxMoney;
    }

    public void setMaxMoney(BigDecimal maxMoney) {
        this.maxMoney = maxMoney;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    protected Serializable pkVal() {
            return this.id;
    }
}
